package sspersonserver;

/**
 * Created by IntelliJ IDEA.
 * User: Double
 * Date: 28.01.12
 * Time: 18:18
 * To change this template use File | Settings | File Templates.
 */
public class LoginData
{
	public int id;
	public String login=null;
	private String password=null;
	public int role;

	public LoginData(String login, String password, int role)
	{
		this.login = login;
		this.password = password;
		this.role = role;
	}

	public LoginData(String login, String password)
	{
		this.login = login;
		this.password = password;
	}

	public int getId()
	{
		return id;
	}

	public void setId(int id)
	{
		this.id = id;
	}

	public String getLogin()
	{
		return login;
	}

	public void setLogin(String login)
	{
		this.login = login;
	}

	public String getPassword()
	{
		return password;
	}

	public void setPassword(String password)
	{
		this.password = password;
	}

	public int getRole()
	{
		return role;
	}

	public void setRole(int role)
	{
		this.role = role;
	}
}
